#include "StdAfx.h"
#include "StaffSearchCondition.h"

CStaffSearchCondition::CStaffSearchCondition(void)
{
	idForwardFrom= 0;
	idForwardTo = 0;
	idBackwardFrom = 0;
	idBackwardTo = 0;
	Gender = 0;
	birthdayFrom = COleDateTime::GetTickCount();
	birthdayTo = COleDateTime::GetTickCount();
	enterdayFrom = COleDateTime::GetTickCount();
	enterdayTo = COleDateTime::GetTickCount();
	Position = 0;
	department = 0;
	remainOffFrom = 0;
	remainOffTo = 0;
	salaryFrom = 0;
	salaryTo = 0;
}

CStaffSearchCondition::~CStaffSearchCondition(void)
{
}

void CStaffSearchCondition::ClearAllConditions(void)
{
	idForwardFrom= 0;
	idForwardTo = 0;
	idBackwardFrom = 0;
	idBackwardTo = 0;
	Gender = 0;
	birthdayFrom = NULLDATE;
	birthdayTo = NULLDATE;
	enterdayFrom = NULLDATE;
	enterdayTo = NULLDATE;
	Position = 0;
	department = 0;
	remainOffFrom = 0;
	remainOffTo = 0;
	salaryFrom = 0;
	salaryTo = 0;
}
